<?php
namespace app\common\model;
use think\Model;

class UserLocation  extends Model {
	
	protected $pk = 'id';  		//主键		
	protected $autoinc  = true;	   	    //主键是否自动增长类型
	
	protected $type = [ 
		'state'  => 'integer',
	];
	
	//自动完成
	protected $auto = [];		//都有效
	protected $insert = []; 							//新增的时候有效
	protected $update = []; 						//更新的时候有效
	
	
}